It does the same with me too, do what Ross said, and it will be good.
and Ross is there anyway other than that to fix this bug, because it does get annoying at times. ;P
I've done extensive rewrites on these system but as yet, no specific cause has been found. I'm currently going through every single file and updating it to be more standardized. Maybe I'll find the cause (and a solution) this time around