Oops. Fixed the other replaceShape bug