Fixed button sprite not centering properly due to early use of width and height math

Simple fix proposed.