mouse detection added for all current gui modules