Fixed GUI glitches.