Compatibility fixes due to the change in MOAIBrowser