Layer canvas resize