Finally managed to fix the performance issues

That was a long search, but finally the game is playable at ~60fps (+ - 1 or 2 frames).

You can check it out here: https://ldjam.com/events/ludum-dare/46/feed-the-beast-1