Overhauling sprite rendering