Fixed issue with document load not setting rightclick correct