Prevent findVisibleNode() from returning null