Make modals work properly at low vertical resolutions [MJ-197]