Futile
Futile copied to clipboard
Fix issues caused by the late initialization of sprite.element
If someone sets sprite.element and then tries to get sprite.width, it will be incorrect because the actual texture rect is created during the update loop. There should probably be a way to create it if it needs to be created when someone is accessing .width or .height or .textureRect