fixed bug which makes monkey fall through tree