Fixed ScreenCapperMock crashing on OSX