fixes for screenshot worker