Made changes to MainMenu to add mouse listeners correctly.