Fixed checkfloor bug