Fix bug in caption positioning. Note that captions should be position
"fixed" instead of "absolute", as absolute positions relative to the
parent element.