correct bugs:
canvas resize