onScreenSprite fix (based on pull request from @Henry-T) - issue #414