fixed RMProjectedRectUnion calculation