fixed overlapping squares