Fixed bug with pin and it's location.