CUBeKA: Bug Fixes Patch

Fixes Intermediate Level 5, where the level would sometimes switch to another level. Fixes Impossible Level 1, which sometimes does not unlock further levels.