camera display: moved visibility bit update into preRenderTargetUpdate, otherwise flickering can occur