Solving incompatibily of QGraphicsScene with static specification. Make a costum collisions checking