Fixed dest.top being called when undefined

Fixed an additional, dest.top being called when undefined.  This is the same fix as my previous commit.