fixed behavior of placed caps when removing a piece