Fix for panels appearing sometimes in 0,0