Fixed hiding/showing of annotation panel