reverted width and height changes, so canvas can be used non-full-page too.