Fix scroll past end initalization bug
Fix scroll past end initalization bug

Fixed a bug where the scroll past end margin initially added to the
<htmlarea> was incorrect due to the DOM of the <htmlarea> not being
constructed in the correct order.

Also fixed two issues where the debug logger would log in unwanted
situations:
- When blurring the <htmlarea>, due to the only element being removed
  after clearing the $actives variable.
- When calculating the scroll past end margin due to a TextElement being
  added and removed from HTMLArea to determine the margin.

ericcornelissen/htmlarea,ericcornelissen/html-area,ericcornelissen/htmlarea