If your sprite doesn't have even dimensions (such as 20x30), and instead has even dimensions such as (21x33), dividing that by 2 in order to center it results in a floating point value. such as 10.5 x 16.5. That's why you see "0.5" there. It just ensures that the pixels look crisp.