Splits the mouse interaction functions from the tracking functions.