fixed exception in spritegui