Refactored mouse transform :mouse: