Fix Ubuntu 14.04 fault on clicking app - remove reference to event.window - JJW