fixed issue with UI inputs passing to game objects