WIP: Fix canvas resizing