Add a small hack to prevent a view getting stuck in loading state