added possibility of caching window position in WindowRelativeMouse