Fixes a really weird runtime generated by a floorbot.

Floorbot code is awful guys
Merge pull request #1617 from Aranclanos/Floorbot

Fixes a really weird runtime generated by a floorbot.