canvas needs to clamp here