This also removes the need for the flags member as the overlay can just opt to not render if it's not in interactive mode.