Adding the scaling to the event queue to avoid issues when switching tasks and such like.