bar moving into an undefined area