Fix #491 issue with scrollViewToVisible