Fixes rotate tool