Added a fix for IE

Fixed a issue that shouldn't have been an issue in the first place.