No resize if parent is hidden