Fixed line rendering bug in firefox