Note that text on the labels for the x-axis has changed from month names to numbers and also that the formatting on the numbers on the y-axis has changed.

I haven't any listeners registered on focus or visibility so it must be some internal updation of the flash part when it becomes visible again. But why aren't the labels for the axes not correctly formatted.