calcPos pixel changed