Prevent ensureVisible from failing if listView undefined

@azirbel