solved bug on canvas order