remove canvas dimension hack