Screen lock fix for HTC