Rendering disappears on toggle toolbar!

My problem is described here:
Long story short…I found that if i hide/show my toolbar at runtime, then my rendering disappears. It was not changing the focus to a new tab that made it disappear, but hiding the toolbar with ShowControlBar().
So…my question is how to deal with this? Why does this happen?