Enforce min/max constraints more strictly and relayout when entering and exiting fullscreen