Changes to global events and background rect