You can override gameframe_caption_draw_border to draw the border the way you like.
The default behaviour can be found in gameframe_caption_draw_border_default
.
However, if you are using the default border sprite, it should already stay as it is (only the caption fades) so you might mean something else.