I don't think it's a bug. Physics collision mask is not the same as collision polygon. Physics mask is only used in physics calculations, while the original polygon can still be used for everything else (non-physics collisions, drag and drop, pathfinding, line of sight etc.)