Fixed colour bug when moving shape