Fixed loading flash

Fixes #556