Updated types of "showPosition" for mouse and dots