Remove menu.options.gear.shape.fill( ... ), menu.settings.volume.shape.fill( ... ), menu.settings.fullScreen.shape.fill( ... ), menu.options.gear.mouseOver = false, menu.settings.volume.mouseOver = false, and menu.settings.fullScreen.mouseOver = false from menu.cleanUp(), as this should all be handled by their respective hitbox mouseout functions.