Fixed Origin Centering logic

Origin should be calculated based on float values of original width and
height; it is applied before scaling by XNA framework.