improve ordering and rendering sprite in one frame by restrict the number in screen