Tweaks for html5 .scrollRect