Minor bug fixes, tile based platform spawning

- fixed inventory bug
- platforms are aligned to 32*32 tiles at spawn