imageFrame includes the edge inset on the left side, so subtracting NSMaxX(imageFrame) accounts for that