minor fix in overlay panel