Make floating label inputs work better in Safari