fix for #4263, better support for nested fixed position elements