Implemented basic sprite rendering.