Removes Ender specific document size detection
Fixes onBeforeClose function call on hidden overlays
Merge branch 'fix-mask_size_with_ender'
Merge branch 'fix-onbeforeclose_trigger'