Rory McIlroy's behaviour was placed under the microscope after the golf icon was spotted in the Royal Box at Wimbledon.