Add this line before your "ent_move.." :
move_mode = ignore_passable + glide;

The trace_mode is for tracing, I don't see any tracing in your code
The move_mode needs to be set before the ent_move instruction.