[OSX] Fix #1996: resize with flash on 10.9

This is upstream bug #385120