Only move window within title bounds.

Modal windows capture all touchd owns.
Javadoc

closes #949
Merge branch 'origin/master'