Fix for 461

I think that should fix it but I'm not sure because I can't test it (mcedit/mcedit#461 and #21)