#26 resolves canvas resize