When changing a sprite's x and y in the update loop, the new position will not show until the next update(). This way, when I attach a health bar on a unit with velocity, while the unit is moving the health bar will always be behind that unit. How can I have the rendering to be done AFTER the "update()" loop?