Did you take a look in "/ip hotspot host"? Are the "to-address" ips what you expect? 192.168.5.x
Is that hotspot interface a bridge? Can you post "/ip bridge port"?
BTW: The "dns-name=wifi" is going to cause you some real problems with Windows. That is considered a malformed URL. Most Windows browsers will not redirect to that URL.
ADD: I just ran a test with V4.16 and this firewall rule. My hotspot localnet is 192.168.0.0/24
/ip firewall filter
add chain=forward action=add-src-to-address-list src-address=192.168.0.0/24 address-list=test
Then I moved this rule to the top of the filter rules. I logged in and the ip (192.168.0.249) was in "/ip firewall address-list".