I've had the mirrors thing with mine before and resetting the MFD settings to factory default seemed to resolve that each time. You obviously then have to go through the menus to set anything up you changed before.
I'd have suggested a battery issue but maybe the actual fob is playing up !?... how old is the car ? Is the fob in generally good condition or pretty used ?