Fixed out of canvas draw bug