Fixes issue causing the edition mode to be off when editing more than ~3 lines of text. Also fixes keyboard panning while editing.
Improves bottom margin containment calculations
Covers edge case when the bottom margin containment might consider the status bar height
Forces layout when begin/end text edition, to fix small auto-layout gaps