Adding displayMousePosition() and fixed bug in position()