Add events when the GL rendering context is lost/restored (only affects old SDL backend and Android target right now)