small math fixes for perf
added a setCenter and setCenterRatio on tile
refined some bound funcs