Fix bug occuring in Firefox

Make an offset of 1 pixel to enable collision detection on Firefox
Add .DS_Store to .gitignore