Canvas centers after changing canvas settings. Minimap implemented.

Signed-off-by: Lee Jian Yi David <ljydavid@soctf-imac-028.comp.nus.edu.sg>