Fixes text highlighting when creating sleeps
Fixes sleep entry flicker