Bug fixes for IE and mobile