safari realdevice fix
Merge pull request #3915 from sebv/safari-realdevice-fix

safari realdevice fix