Fixed getViewByClass via instance