Small refactor
Add size to sprite rendering fn