fix excessive overwrite of mobile sizes defined in core, fix #555