Don't draw triangle spans outside of the screen (by Mr Reuter).