Hover Caption

I have created a hover caption using your tutorial, though there is a problem that every time I refresh the page, the hover caption area (the box) flashes up really briefly. Is there anything I can do to get rid of this?