This is still dead code. As I already said, the variable mouseLock is not read anywhere, so why does this code exist?