Fixed Safari rendering bug. Fixes #2