Constrain window resize to usable area of platform window.
Optimisation.