Improve performance by hiding off-screen children when possible.