Adjusting size of map canvas