Fixed GUI not clearing previous graphics.