Fixed bug with marker setVisible.