Fix for StackOverflow when using ScrollingComposite in web browser