Added capsule and mouse tracking