Make sure clip coordinates are inside the screen area.