position rewrite error
cpp is amazing
fix scale, center type error, fix alpha error