fix canvas css & canvas onload