Maybe it has something to do with pnl.center_x and center_y?