[Android] Prevent onscreen controls leaving screen

When configuring onscreen controls for Android, set boundaries so the controls cannot leave the screen. I can't see anybody wanting to have part of their controls off-screen, and it helps align the controls. I like my controls to be neat ;)
else if