Please note that panels use their top left coordinate instead of the middle coordinate.
So maybe you should subtract the coordinate with a half of bitmap_width(or something like that)...