Fixes a bug in the allegro example + opacity