Fixed crash on pressing print screen.