Mac platform simplified + fixes in EventDispatcher

- Mac platform simplified
- and EventDispatcher uses float for global Z order