Reworked delegates in mouse class.