Fix tweak X and Y depending on canvas selected size.