fix up some things for screen capture