Corrected bug where location was never updated in SpriteRenderer