Added support for multiple controllers and sprite toggles on button detection