I have this:
>
There shouldn't be a problem but if there is, a good trick can be to move the element offscreen rather than hiding it. You can create a class like
.offscreen{ position: absolute; left: -5000px; }
which you can add and remove as needed.