Fix for flagpole bottom checking

The player's bottom may go very far, so the flag checks the detector
instead.

Fixes #210.