Small jpanel/jframe bug fix

^^^