Little refactoring.
Mouse position enhancement.