Shapes puzzle bug

There is a bug in the code of this level where the system won’t recognize my answer as correct. Despite it being the exact same answer as the solution. Please help I cannot continue with the program because of this bug!