Made structures handle input instead of the player (ugly hack)