Fix grid editing for the Beziér tool
Fix bezier tool