Updated to use device_mouse() over mouse_ var