screen and canvas size are now adjusted automatically to fit window size

Signed-off-by: Pier-Luc Plante <pier-luc.plante.1@ulaval.ca>