Patch to ensure that tablet and mobile are treated as separate types of device