Fix returning local variable by reference in Menu::getString method
Add Canvas class and replace usages of them