Handles hidden panes more effectively