Fix space center bug