It's because of the skin being used on the site. I believe it's a 3rd party skin and has a few problems with it.
When entering your username and password the text in those boxes disappears as well.
Yep, I actually forgot about it doing that also. I used to have problems with it all the time. Now I just have it set to automatically log in so I completely forgot about that.