Revert "fix Layout"

This reverts commit 997bf7578d5275501622e3d52f305e9acefa4f16.
Fix HALO crashes

Bugfix for Layout < 0 crash which would kill a couple of apps whose
  content was compromised by smaller displays/dpi's.