Avoid vh bug in ios