fixed gamma stuff in sprite rendering