Editor: fix alignment of entities with negative coordinates.
Merge remote-tracking branch 'upstream/solarus-1.0.0' into solarus-1.0.0