Fix client bounds with cocoa window
Refactor cocoa bootstrapper
Fix sprite batch assertion
Detect rectangle collision