fix for mono

mono doesn't like WindowWidth, this should fix