Fixed Firefox Refreshing Bug