Custom View resize / no buttons fix