Fix invalid read issues reported by Valgrind.
Fix "cleared" variable of player's MapCell structure not being reset properly.