SmoothPanel performance fix