fix video -> canvas scaling issue