Fixed the problem of the panel not repainting