Do not query button for each pixel