Fixed checking for next point and the use of sprites.