fixed displaylink!!!!!

needed to lock thread in drawRect.