osdWindow: Don't tween to undefined

Check that we got a valid level before setting the level bar to it, to
prevent a Tweener warning.