Fix figure rotation mechanism