Fix point returned by getPointByColor