fix a naughty bug when updateFlags were set before actual render could proceeed
fix a naughty bug when updateFlags were set before actual render could proceeed

ZeusTheTrueGod/background-geolocation-console,transistorsoft/background-geolocation-console,transistorsoft/background-geolocation-console,transistorsoft/background-geolocation-console,transistorsoft/background-geolocation-console,ZeusTheTrueGod/background-geolocation-console,ZeusTheTrueGod/background-geolocation-console,ZeusTheTrueGod/background-geolocation-console