Fix with filrWrite

- Fixed blocks with equal positions
- Added sorting for BGO, because in SMBX bug:
unsorted items can be placed to foreground
Fix with hided toolboxes after reloading
Disable animation if map have >15000 items