fix rotate on move