Ensure matrix widget has correct decimals