fixed off canvas overflow behavior on android devices - fixes #4787