make rotate handles work as expected