Align as Stack Error

I created a AbstractVisionShape component, which works other than when I grab multiple and try to align them using Vision's "Align as Stack" function, I get the following error:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class java.awt.geom.Rectangle2D$Float cannot be cast to class java.awt.geom.Rectangle2D$Double (java.awt.geom.Rectangle2D$Float and java.awt.geom.Rectangle2D$Double are in module java.desktop of loader 'bootstrap')

All the other alignment functions are working. Just not the two circled below