Only use resize handling on Linux - seems to work there?