Fixed FrontPanel object not being released