fix firefox visible bug~!https://github.com/RubyLouvre/avalon/issues/30