Optimizations to moveBoxTo