Fix getCurrentView