pieces array rearrangement refactored
background shapes now redrawing only for active piece