Fix bug about setting rotation callback