Fixed ghosting bug