Changed pxSize to m_pxSize, from type int to type unsigned int