Finally got Magellan to work correctly.

A lot of stuff is positioned using pixels, which kinda sucks IMO, but oh well.