Fixes RTE not enabling itself sometimes when shown from a hidden state.