Fix frame navigation.