layout and marker fix for firefox