Poor sleep may make it harder to see positive side