fix for chrome rendering bug