Fixes styles for Safari