Fixes CSS bug in safari