Fix that some sprites at edges where not drawn.