Issue 419 - Work around WebKit bug which breaks element hiding on Safari

--HG--
extra : rebase_source : c361268d61f534aa2f19159d46f736a6c718a271