Fix grid position bug in position chart