fixes for selection and unselection. fixes console showing can't find
webgl_failed variable