Fixing ViewElement to correctly report logical children