Windows are now constrained by the screen borders

Fixed #28