Safari doesnt support display: none!

Changed to visiblity: hidden instead and now imagerecord works on safari
to.