Workaround fltk bugs with hacky screenshots.