Fixing bug that caused missing buttons in IE