Fixed bug that may be causing IE and mobile browsers to break