[Panel] Fix incorrect const references