Added the transformation to the mouse form