fix canvas size in demo project