Add sprite optimization