fixed a settling bug in which some squares were disappearing