Move visibility check for footsteps from add_footsteps into draw_footsteps.

May fix #438, #439 and #930
Merge remote-tracking branch 'dda/pr/931' into dda-master