Fixes Bug 1046746 - Using rems instead of ems.