Fixed bugs related to adding new hotspots; fixed bug of popovers sometimes not appearing