(JAL-368) ensure window never gets a negative Y coordinate when dragged or resised.