fixed a bug in draw. Now it actually lets the position repeat itself 3 times.