fix the safari issue

#### Changes:
- added css to fix the z-index bug in safari (possibly appear in chrome too)