Don't allow inactive elements to spill over.