Fix bug which restricted viewing ace editor