fixed map flashing bug in mozilla browser