Fixed a z-index bug in Firefox and IE