Now the example works. Removed on stage resize because the first resize sucked