Made changes to stop wireframe transitioning after 4 transitions, and to put the frame back to the regular position if it would collide after moving.