I just found out that the problem also exists when using any kind of selection.
"Ghost pixels" happen everytime after pressing ctrl+c to copy the selection.