Get rid of a deprecated way of making the view been shown while locked