Fixed bug which caused pins to never show