fixed lineWidth in pendulum rectangle