Added repainting on menu deselection