got square to resize correctly