Fix intelligent back when using mouse