Fixed offsetBug in Mob (selection not possible if map had offset)
Cleaned the code