Fix screenshot for mac