Canvas: Fix the global canvas size

Signed-off-by: Jerome Flesch <jflesch@gmail.com>