fixed selection of pixels