Fixed patternlock support on devices having both mouse and touch input