Setting the top of the table coordinate should not consider the top padding and margin of the caption, just the bottom and content height.