Changed sprite rendering to be done using a matrix. Now rotate around center.