fix bug introduced by sprite/game object refactor