Fix roatation bug