Fix Bed spawn safety detection