Added mouse management to utils