fixes and shrinks screenshot