Fixes bookmark behavior on load from bookmark