Fix BIDI for browser perspective

Fix BIDI for browser perspective