Added canvas clicking for 2D position.