fixing html canvas tag