Fix canvas dimensions