Fixes Bug in Swipe Locking